package doc

import (
	"fmt"
	"gitee.com/dreamwood/ez/server"
	"time"
)

func init() {
	server.Do(&server.Router{Url: `/_heart_beat`}, HeartBeat)
}

func HeartBeat(operation *server.Operation) {
	operation.Html(fmt.Sprintf("%d", time.Now().Unix()))
}
